package cn.st4rlight.util.orm;

/**
 * 基础字段Getter/Setter
 *
 * @author st4rlight <st4rlight@163.com>
 * Created on 2025-03-30
 */
public interface BasicEntity {

    // id
    Long getId();
    BasicEntity setId(Long id);

    // create_time
    Long getCreateTime();
    BasicEntity setCreateTime(Long createTime);

    // update_time
    Long getUpdateTime();
    BasicEntity setUpdateTime(Long updateTime);

    // creator
    String creator();
    BasicEntity setCreator(String creator);

    // modifier
    String modifier();
    BasicEntity setModifier(String modifier);

    // tenant_id
    String getTenantId();
    BasicEntity setTenantId(String tenantId);

    // del_flag
    Integer getDelFlag();
    BasicEntity setDelFlag(Integer delFlag);
}
